package com.qst.crop.entity;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "sell_purchase", description = "卖出订单")
@Table(name = "tb_sell_purchase")
public class SellPurchase {

    @Id
    private Integer sellPurchaseId;
    private Integer purchaseId;
    private Integer purchaseType;
    private String ownName;
    private Double uninPricee;
    private Double sumPrice;
    private String address;
    private Integer purchaseStatus;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer orderId;
}
